package cz.tomasdvorak.cars.dto;

import java.util.Date;

public class ImageItem {
    private final int vehicleId;
    private final Date lastModify;
    private final String mime;
    private final String name;
    private final byte[] data;

    public ImageItem(int vehicleId, Date lastModify, String mime, String name, byte[] data) {
        this.vehicleId = vehicleId;
        this.lastModify = lastModify;
        this.mime = mime;
        this.name = name;
        this.data = data;
    }

    public int getVehicleId() {
        return vehicleId;
    }

    public Date getLastModify() {
        return lastModify;
    }

    public String getMime() {
        return mime;
    }

    public String getName() {
        return name;
    }

    public byte[] getData() {
        return data;
    }
}
